<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import('ViewModel');
class HeadTopViewModel extends ViewModel{
    protected $viewFields = array(
        'Gw_brand'      =>array('id','brandnameCh','brandnameEn','gwPage','gwStore','icon','_as'=>'b', '_type' => 'left'),
        'Gw_market_url'  =>array('url','marketId','_as'=>'ml','_on'=>'b.id=ml.brandId'),
        'Gw_market'      =>array('name','url'=>'market_url','icon'=>'market_icon','_on'=>'ml.marketId=Gw_market.id'),
    );
}
?>
